package com.macro.cloud.config;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;


@Configuration
@ConfigurationProperties(prefix = "oauth2")
public class Oauth2Config {

    private String clientId;
    private String clientSecret;
    private String redirectUri;
    private String oauth2Server;
    private String oauth2CodeUrl;
    private String oauth2TokenApi;
    private String oauth2CurrentUserApi;
    private String oauth2UserApi;
    private String jwtSigningKey;

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public String getClientSecret() {
        return clientSecret;
    }

    public void setClientSecret(String clientSecret) {
        this.clientSecret = clientSecret;
    }

    public String getRedirectUri() {
        return redirectUri;
    }

    public void setRedirectUri(String redirectUri) {
        this.redirectUri = redirectUri;
    }

    public String getOauth2Server() {
        return oauth2Server;
    }

    public void setOauth2Server(String oauth2Server) {
        this.oauth2Server = oauth2Server;
    }

    public String getOauth2CodeUrl() {
        return oauth2CodeUrl;
    }

    public void setOauth2CodeUrl(String oauth2CodeUrl) {
        this.oauth2CodeUrl = oauth2CodeUrl;
    }

    public String getOauth2TokenApi() {
        return oauth2TokenApi;
    }

    public void setOauth2TokenApi(String oauth2TokenApi) {
        this.oauth2TokenApi = oauth2TokenApi;
    }

    public String getJwtSigningKey() {
        return jwtSigningKey;
    }

    public void setJwtSigningKey(String jwtSigningKey) {
        this.jwtSigningKey = jwtSigningKey;
    }

    public String getOauth2UserApi() {
        return oauth2UserApi;
    }

    public void setOauth2UserApi(String oauth2UserApi) {
        this.oauth2UserApi = oauth2UserApi;
    }

    public String getOauth2CurrentUserApi() {
        return oauth2CurrentUserApi;
    }

    public void setOauth2CurrentUserApi(String oauth2CurrentUserApi) {
        this.oauth2CurrentUserApi = oauth2CurrentUserApi;
    }
}
